package cn.edu.neu.studentmsg_java.cons;

/*
    常量类
 */
public interface StateConstants {

    String NO_AUTH = "用户操作未授权";

    String DB_SAVE_ERROR = "数据新增失败";
    String DB_UPDATE_ERROR = "数据修改失败";
    String DB_DELETE_ERROR = "数据删除失败";
    String DB_DELETE_NOT_ALLOW = "数据包含关联关系,无法删除";
    String DB_QUERY_ERROR = "数据查询失败";
    String DB_QUERY_EMPTY = "查无此数据";
    String MUST_FIELD_NON_EXISTENT = "必要字段不存在";
    String MUST_FIELD_VALUE_MISTAKE = "必要字段值错误";

    String SETTINGS_USER_LOGIN_SUCCESS = "登录成功";
    String SETTINGS_USER_LOGIN_ACT_OR_LOGIN_PWD_ERROR = "用户名或密码错误";
    String SETTINGS_USER_ACCOUNT_EXPIRED = "当前账户已过期，请联系管理员";
    String SETTINGS_USER_ACCOUNT_LOCKED = "当前账户已锁定，请联系管理员";
    String SETTINGS_USER_IP_NOT_ALLOW = "当前IP地址已受限，请联系管理员";

}
